<section id="main-content">
  <section class="wrapper">
    <!--state overview end-->
    <div class="row">
      <div class="col-lg-12">
        <!--<div class="alert alert-warning fade in">-->
        <!--<button data-dismiss="alert" class="close close-sm" type="button">-->
        <!--<i class="icon-remove"></i>-->
        <!--</button>-->
        <!--<strong>备注说明：</strong> 本页面默认显示本人名下的，如果有出入，请联系管理员。-->
        <!--</div>-->

        <section class="panel" ng-show="isCrud">
          <div class="panel-body" style="padding-bottom:0;">
            <div class="row">
              <div class="col-lg-3">
                <div class="input-group m-bot15">
                  <span class="input-group-addon" style="position: relative;z-index: 2;">公司</span>
                  <select class="form-control" style="position: relative;margin-left:-4px;text-indent:4px;"
                    id="compCode" ng-model="compCode">
                    <option value="" selected>全部公司</option>
                    <option ng-repeat="x in comps" value="{{x.companyId}}">{{x.company}}</option>
                  </select>
                </div>
              </div>
              <div class="col-lg-3">
                <div class="input-group m-bot15">
                  <span class="input-group-addon" style="position: relative;z-index: 2;">城市</span>
                  <select class="form-control" style="position: relative;margin-left:-4px;text-indent:4px;"
                    id="cityLocation">
                    <option value="">全部</option>
                    <option value="NJ">南京</option>
                    <option value="BJ">北京</option>
                    <option value="GD">广东</option>
                    <option value="SH">上海</option>
                  </select>
                </div>
              </div>
              <div class="col-lg-3">
                <div class="input-group m-bot15">
                  <span class="input-group-addon">楼栋数</span>
                  <input type="text" id="buildingLocation" class="form-control" placeholder="楼栋数">
                </div>
              </div>
              <div class="col-lg-3">
                <div class="input-group m-bot15">
                  <span class="input-group-addon">楼层</span>
                  <input type="text" id="floorLocation" class="form-control" placeholder="楼层">
                </div>
              </div>
            </div>
            <div class="row">
              <div class="col-lg-3">
                <div class="input-group m-bot15">
                  <span class="input-group-addon" style="position: relative;z-index: 2;">状态</span>
                  <select class="form-control" style="position: relative;margin-left:-4px;text-indent:4px;"
                    id="seatStatus">
                    <option value="2">全部</option>
                    <option value="0">空闲</option>
                    <option value="1">占用</option>
                  </select>
                </div>
              </div>
              <div class="col-lg-3">
                <div class="input-group m-bot15">
                  <span class="input-group-addon">归属人</span>
                  <input type="text" value="" id="autocomplete" class="form-control" placeholder="人员姓名" />
                  <input type="hidden" value="" id="userId" />
                </div>
              </div>
              <div class="col-lg-3">
                <div class="input-group m-bot15">
                  <span class="input-group-addon">座位编号</span>
                  <input type="text" id="seatNo" class="form-control" placeholder="座位编号">
                </div>
              </div>
              <div class="col-lg-3">
                <button class="btn btn-info psearch" onclick="selImg();" style="margin-bottom:15px;">搜索</button>
              </div>
            </div>
          </div>
        </section>



        <!-- <div class="view-header" ng-show="isCrud">
          <div class="view-search" style="margin:0;">
            <label class="pull-left" style="margin:0;">公司：</label>
            <select class="form-control pull-left" id="compCode" ng-model="compCode" style="width: 115px;">
              <option value="" selected>全部公司</option>
              <option ng-repeat="x in comps" value="{{x.companyId}}">{{x.company}}</option>
            </select>

            <label class="pull-left" style="margin:0;">城市：</label>
            <select class="form-control" id="cityLocation" style="width:100px">
              <option value="">全部</option>
              <option value="NJ">南京</option>
              <option value="BJ">北京</option>
              <option value="GD">广东</option>
              <option value="SH">上海</option>
            </select>

            <label class="pull-left" style="margin:0;">楼栋数：</label>
            <input type="text" value="" id="buildingLocation" class="form-control" style="width:75px" />

            <label class="pull-left" style="margin:0;">楼层：</label>
            <input type="text" value="" id="floorLocation" class="form-control" style="width:75px" />

            <label class="pull-left" style="margin:0;">状态：</label>
            <select id="seatStatus" class="form-control" style="width:100px">
              <option value="2">全部</option>
              <option value="0">空闲</option>
              <option value="1">占用</option>
            </select>

            <label class="pull-left" style="margin:0;">归属人：</label>
            <input type="text" value="" id="autocomplete" class="form-control" style="width:100px" />
            <input type="hidden" value="" id="userId" />

            <label class="pull-left" style="margin:0;">座位编号：</label>
            <input type="text" value="" id="seatNo" class="form-control" style="width:100px" />


            <button class="btn btn-info psearch" onclick="selImg();">搜索</button>
          </div>
        </div> -->

        <section class="panel" style="display: none;" id="lfimg">
          <header class="panel-heading">
            工位图
          </header>
          <div class="panel-body">
            <!-- <ul class="lfimg">
              <li>
                <a onclick="lfimg(0)">南京-18栋-1楼工位图</a>
              </li>
              <li>
                <a onclick="lfimg(1)">南京-18栋-2楼工位图</a>
              </li>
              <li>
                <a onclick="lfimg(2)">南京-18栋-3楼工位图</a>
              </li>
              <li>
                <a onclick="lfimg(3)">南京-18栋-4楼工位图</a>
              </li>
              <li>
                <a onclick="lfimg(4)">南京-9栋-1楼工位图</a>
              </li>
            </ul> -->
            <img src="img/18-1.jpg" class="lfimges" id="imgbox">
          </div>
        </section>

        <section class="panel">
          <header class="panel-heading">
            座位信息
            <i class="button-next icon-plus" ng-show="isCrud" onclick="location.href='#/toAddSeats'"> 新增</i>
          </header>
          <div class="panel-body">
            <!-- <div class="mail-option" ng-show="isCrud">
              <div class="btn-group pull-left">
                <label>城市：</label>
              </div>
              <div class="btn-group pull-left">
                <select class="form-control" id="cityLocation">
                  <option value="">全部</option>
                  <option value="NJ">南京</option>
                  <option value="BJ">北京</option>
                  <option value="GD">广东</option>
                  <option value="SH">上海</option>
                </select>
              </div>
              <div class="btn-group pull-left">
                <label>地址：</label>
              </div>
              <div class="btn-group pull-left">
                <input type="text" value="" id="buildingLocation" class="form-control" />
              </div>
              <div class="btn-group pull-left">
                <label>楼层：</label>
              </div>
              <div class="btn-group pull-left">
                <input type="text" value="" id="floorLocation" class="form-control" />
              </div>

              <div class="btn-group pull-left">
                <label>状态：</label>
              </div>
              <div class="btn-group pull-left">
                <select id="seatStatus" class="form-control">
                  <option value="2">全部</option>
                  <option value="0">空闲</option>
                  <option value="1">占用</option>
                </select>
              </div>
              <div class="btn-group pull-left">
                <label>归属人：</label>
              </div>
              <div class="btn-group pull-left">
                <input type="text" value="" id="autocomplete" class="form-control" />
                <input type="hidden" value="" id="userId" />
              </div>
              <div class="btn-group pull-left">
                <label>座位编号：</label>
              </div>
              <div class="btn-group pull-left">
                <input type="text" value="" id="seatNo" class="form-control" />
              </div>

              <div class="btn-group pull-left">
                <button class="btn btn-info psearch">搜索</button>
              </div>
            </div> -->
            <div id="assetsContainer" class="dlshouwen-grid-container"></div>
            <div id="assetsToolBarContainer" class="dlshouwen-grid-toolbar-container"></div>
          </div>
          <div>
          </div>
        </section>
      </div>
    </div>
  </section>
</section>
<script type="text/javascript" src="js/autocomplete/jquery.autocomplete.js"></script>
<script src="js/seat/seats.js"></script>